package com.app.web.common

import groovy.transform.CompileStatic
import groovy.transform.TypeChecked
import org.springframework.stereotype.Component

import javax.ws.rs.GET
import javax.ws.rs.POST
import javax.ws.rs.Path
import javax.ws.rs.Produces
import javax.ws.rs.core.MediaType

/**
 * Created by three on 14-8-4.
 */
@Component
@CompileStatic
@TypeChecked
@Path("/error")
class ErrorMapperAction {

//    @Path("/404")
//    @GET
//    @Produces(MediaType.APPLICATION_JSON)
//    e404() {
//        [code:'9999', msg:'页面没有找到']
//    }
}
